package com.blt.govdata.core.constants;

/**
 * Created with IntelliJ IDEA. User: jacks Date: 2016/6/14 Time: 14:23 To change
 * this template use File | Settings | File Templates.
 */
public interface Constants {

    /**
     * 错误key
     */
    String ERROR = "error";

    /**
     * 上个页面地址
     */
    String BACK_URL = "BackURL";

    String IGNORE_BACK_URL = "ignoreBackURL";

    /**
     * 当前请求的地址 带参数
     */
    String CURRENT_URL = "currentURL";

    /**
     * 当前请求的地址 不带参数
     */
    String NO_QUERYSTRING_CURRENT_URL = "noQueryStringCurrentURL";

    String CONTEXT_PATH = "ctx";

    /**
     * 当前登录的用户
     */
    String CURRENT_USER = "user";
    String CURRENT_USERID = "userId";
    String CURRENT_USERNAME = "userName";

    /**
     * 系统编码
     */
    String ENCODING = "UTF-8";

    String AUTH_CODE = "auth_code";

    String SYSNAME = "BI";

    /*
     * COOKIE保存的时间
     */
    int MAX_COOKIE_TIME = 60 * 60 * 24 * 7;



    /**
     * Token验证状态码
     */
    String TOKEN = "token";

    /**
     * 逻辑删除标识
     */
    Integer IS_DELETED = 0;
    Integer UN_DELETED = 1;

    /**
     * 审核状态
     * */
    Integer AUDITED_WAIT = 0;
    Integer AUDITED_PASS = 2;
    Integer AUDITED_UNPASS = 1;


}
